package org.mysfit.ctp4j.api.vo;

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModel;

/**
 * <p>
 * trade_kc 视图对象
 * </p>
 *
 * @author long.gf
 * @since 2022-12-06 17:50:29
 */
@ApiModel(value = "QuoteVO", description = "quote视图对象")
public class QuoteVO   {
		
		private String fid;

	    private String ftime;
	    
	    private double fp;
	    
	    private int requestId;
	    
		private String quoteId;
		
		private String refQuoteId;
		
	    private String ployNo;

	    private double cost;
	    
	    private Integer qty;

	    private List<TradeVO> tradeList = new ArrayList<TradeVO>();

	    /**
	     * 方向 多（1）空（-1）
	     */
	    private Integer direction;
	    
	    /**
	     * 开（0） 平（1）
	     */
	    private Integer kpFlag;
	    
	    private String orderStatus;
	    
	    /**
	     * 0 -已报单,1-部分成交,2-已成交
	     */
	    private int tradeStatus;

		public String getFid() {
			return fid;
		}

		public void setFid(String fid) {
			this.fid = fid;
		}

		public String getFtime() {
			return ftime;
		}

		public void setFtime(String ftime) {
			this.ftime = ftime;
		}

		public double getFp() {
			return fp;
		}

		public void setFp(double fp) {
			this.fp = fp;
		}

		public String getQuoteId() {
			return quoteId;
		}

		public void setQuoteId(String quoteId) {
			this.quoteId = quoteId;
		}

		public String getPloyNo() {
			return ployNo;
		}

		public void setPloyNo(String ployNo) {
			this.ployNo = ployNo;
		}

		public List<TradeVO> getTradeList() {
			return tradeList;
		}

		public void setTradeList(List<TradeVO> tradeList) {
			this.tradeList = tradeList;
		}

		public Integer getDirection() {
			return direction;
		}

		public void setDirection(Integer direction) {
			this.direction = direction;
		}

		public Integer getKpFlag() {
			return kpFlag;
		}

		public void setKpFlag(Integer kpFlag) {
			this.kpFlag = kpFlag;
		}

		public int getTradeStatus() {
			return tradeStatus;
		}

		public void setTradeStatus(int tradeStatus) {
			this.tradeStatus = tradeStatus;
		}

		public double getCost() {
			return cost;
		}

		public void setCost(double cost) {
			this.cost = cost;
		}

		public Integer getQty() {
			return qty;
		}

		public void setQty(Integer qty) {
			this.qty = qty;
		}

		public int getRequestId() {
			return requestId;
		}

		public void setRequestId(int requestId) {
			this.requestId = requestId;
		}

		public String getRefQuoteId() {
			return refQuoteId;
		}

		public void setRefQuoteId(String refQuoteId) {
			this.refQuoteId = refQuoteId;
		}

		public String getOrderStatus() {
			return orderStatus;
		}

		public void setOrderStatus(String orderStatus) {
			this.orderStatus = orderStatus;
		}

		@Override
		public String toString() {
			return "QuoteVO [fid=" + fid + ", ftime=" + ftime + ", fp=" + fp + ", requestId=" + requestId + ", quoteId="
					+ quoteId + ", refQuoteId=" + refQuoteId + ", ployNo=" + ployNo + ", cost=" + cost + ", qty=" + qty
					+ ", tradeList=" + tradeList + ", direction=" + direction + ", kpFlag=" + kpFlag + ", orderStatus="
					+ orderStatus + ", tradeStatus=" + tradeStatus + "]";
		}
		
}
